package com.jtny.nytb.datafilling.service;

import com.jtny.component.entity.PageData;
import com.jtny.component.entity.PageParam;
import com.jtny.nytb.datafilling.domain.InsertUserEletricParamVO;
import com.jtny.nytb.datafilling.domain.UserelectricEquipmentDO;
import com.jtny.nytb.datafilling.dto.DatafillingUserelectircFillDTO;
import com.jtny.nytb.datafilling.vo.UserEletricParamVO;
import com.jtny.nytb.datafilling.vo.UserelectricEquipmentVO;

import java.util.List;

/**
 * 能源价格配置填报接口
 *
 * @author 智慧能源中心-罗霄林
 * @version 1.0
 * @package com.jtny.nytb.energymonitor.datafilling.biz
 * @fileName GensetBiz.java
 * @createTime 2023年09月05日 10:49
 * @Copyright© 2023 jtny
 * 江投能源技术研究院 版权所有
 */
public interface UserElectircService {

    Boolean addUserEletricInfo(UserEletricParamVO userEletricParamVO);
    /**
     * 用户用电信息填报保存
     *
     * @param userEletricParamVO 用户用电信息填报保存请求参数
     * @return 返回保存结果
     */
    Boolean saveUserEletricInfo(UserEletricParamVO userEletricParamVO);

    PageData<DatafillingUserelectircFillDTO> queryPage(PageParam pageParam);

    List<String> queryPowerFactor();

    void delUserEletricInfo(String id);

    String insertUserEletricInfo(InsertUserEletricParamVO insertUserEletricParamVO);

    void saveOrUpdateRealtion(List<UserelectricEquipmentVO> list);

    List<UserelectricEquipmentDO> getUserelectricEquipment(Long id);

    void removeRelation(List<UserelectricEquipmentVO> ids);
}
